package com.lmq.bridge;

public class Test {
    public static void main(String[] args) {
        //苹果笔记本
        Computer computer1 = new Laptop(new Apple());
        computer1.info();
        Computer computer2=new Desktop(new Lenovo());
        computer2.info();

    }
}
